/**
 * Copyright 2007-2008. Chongqing First Information & Network Co., Ltd. All
 * rights reserved. <a>http://www.cqfirst.com.cn</a>
 */
package com.cqcis.uip.base.filelog.log.service.impl;

import com.cqcis.uip.base.filelog.log.dao.InterfaceIdDao;
import com.cqcis.uip.base.filelog.log.service.InterfaceIdService;

/**
 * @author huangmy
 * @date   2007-12-21
 */
public class InterfaceIdServiceImpl implements InterfaceIdService {
    private InterfaceIdDao idDao = new InterfaceIdDao();
    
	public synchronized String getInterfaceId(long tacheId) {		
		return idDao.getInterfaceId(String.valueOf(tacheId));
	}

	public void setIdDao(InterfaceIdDao idDao) {
		this.idDao = idDao;
	}

}
